 |
API Documentation
|
|
|
void setNear(float value)
void setAutoUpdateOnContextSwitch(bool value)
void lookAt(const nkMaths::Vector &point, const nkMaths::Vector &enforcedUp=nkMaths::Vector(0, 0, 0, 0))
void setHidden(bool value)
virtual void setPositionAbsolute(const nkMaths::Vector &value) override
Offers all controls to model a camera.
Definition: Camera.h:12
virtual void rotateRelative(const nkMaths::Quaternion &value) override
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
void getFarPlanePoints(nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d)
void getNearPlanePoints(nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d)
float getAspectRatio() const
void setAspectRatio(float widthOnHeight)
Represents a 4x4 float matrix.
Definition: Matrix.h:14
A rendering context, attached to a graphic window to present to the screen.
Definition: RenderContext.h:12
virtual void translateRelative(const nkMaths::Vector &value) override
nkMaths::Vector getDirectionAtScreenCoordView(float x, float y)
virtual void translateAbsolute(const nkMaths::Vector &value) override
virtual void applyScale(const nkMaths::Vector &value) override
void prepareForContext(RenderContext *context)
nkMaths::Vector getDirectionAtScreenCoordWorld(float x, float y)
const nkMaths::Matrix & getProjectionMatrix()
nkMemory::StringView getName() const
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual void rotateAbsolute(const nkMaths::Quaternion &value) override
virtual void exportClassToTree(nkExport::Node *rootNode)
void updateProjectionMatrix()
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
void getFrustumCornersDirectionsWorld(nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d)
virtual void importClassFromTree(nkExport::Node *rootNode)
virtual void setPositionRelative(const nkMaths::Vector &value) override
virtual void setScaleRelative(const nkMaths::Vector &value) override
const nkMaths::Matrix & getViewMatrix()
Defines a frustum.
Definition: Frustum.h:12
virtual void setScaleAbsolute(const nkMaths::Vector &value) override
Represents a node in a scene graph.
Definition: Node.h:14
void setFov(float radianValue)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
virtual void setOrientationAbsolute(const nkMaths::Quaternion &value) override
void getFrustumCornersDirectionsView(nkMaths::Vector &a, nkMaths::Vector &b, nkMaths::Vector &c, nkMaths::Vector &d)
A 4-component vector class, with floats.
Definition: Vector.h:12
void setName(const nkMemory::StringView &name)
virtual void setOrientationRelative(const nkMaths::Quaternion &value) override
nkMaths::Vector getDirectionAtPixelWorld(int x, int y, RenderContext *context=nullptr)
nkMaths::Vector getDirectionAtPixelView(int x, int y, RenderContext *context=nullptr)
nkMaths::Matrix getViewProjMatrix()